package com.cykj.finance.mapper;

import java.util.List;
import com.cykj.finance.domain.FnWithdrawalRecords;
import com.cykj.finance.domain.vo.FnWithdrawVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 提现记录Mapper接口
 * 
 * @author 天才少年
 * @date 2025-08-15
 */
@Mapper
public interface FnWithdrawalRecordsMapper
{
    /**
     * 查询提现记录
     * 
     * @param id 提现记录主键
     * @return 提现记录
     */
    public FnWithdrawalRecords selectBsWithdrawalRecordsById(Long id);

    /**
     * 查询提现记录列表
     * 
     * @param bsWithdrawalRecords 提现记录
     * @return 提现记录集合
     */
    public List<FnWithdrawalRecords> selectBsWithdrawalRecordsList(FnWithdrawalRecords bsWithdrawalRecords);

    /**
     * 新增提现记录
     * 
     * @param fnWithdrawVO 提现记录
     * @return 结果
     */
    public int insertBsWithdrawalRecords(FnWithdrawVO fnWithdrawVO);

    /**
     * 修改提现记录
     * 
     * @param bsWithdrawalRecords 提现记录
     * @return 结果
     */
    public int updateBsWithdrawalRecords(FnWithdrawalRecords bsWithdrawalRecords);

    /**
     * 删除提现记录
     * 
     * @param id 提现记录主键
     * @return 结果
     */
    public int deleteBsWithdrawalRecordsById(Long id);

    /**
     * 批量删除提现记录
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBsWithdrawalRecordsByIds(Long[] ids);
}
